# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         demo4.06
# Description:
# Author:       $赵怡蕾
# Date:         2019/1/28
#-------------------------------------------------------------------------------

names = ["Bill","Mary","Jack"]
print(names[4])                    # 索引超出names序列的范围，将导致抛出异常
print(names[-4])                   # 索引超出names序列的范围，将导致抛出异常
